package com.wxiao.exam;

import com.wxiao.exam.pojo.StudentDO;
import com.wxiao.exam.pojo.vo.StudentListVO;
import com.wxiao.exam.pojo.vo.StudentVO;

/** 
 * <br/>
 * Created by wangxiao on 2019/07/05
 */
public interface StudentService {

	Result addStudent(StudentVO studentVO) throws Exception;

	Result updateStudent(StudentVO studentVO) throws Exception;
	
	Result findDetailStudent(StudentVO studentVO) throws Exception;
	
	Result listStudent(StudentVO studentVO) throws Exception;

    Result listStudentPage(StudentVO studentVO) throws Exception;
	
	Result countStudent(StudentVO studentVO) throws Exception;
	
	Result deleteStudent(StudentVO studentVO) throws Exception;

	StudentDO getStudentByName(String username);

    PageBean<StudentListVO> listStudentByPage(StudentVO studentVO);
}